package com.felix.controller;import com.felix.entity.Msg;import org.springframework.stereotype.Controller;import org.springframework.ui.Model;import org.springframework.web.bind.annotation.RequestMapping;import org.springframework.web.bind.annotation.ResponseBody;@Controllerpublic class HomeController {    @RequestMapping("/")    public String index(Model model) {        Msg msg = new Msg("测试标题", "测试内容", "欢迎来到HOME页面,您拥有 ROLE_HOME 权限");        model.addAttribute("msg", msg);        return "home";    }    @RequestMapping("/admin")    @ResponseBody    public String hello() {        return "hello admin";    }    @RequestMapping("/test")    public String test() {        return "test";    }}